package com.qf.mapper;

import com.qf.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wanghaotian
 * time:2022/12/12,0012 18:39
 * description:
 */

public interface UserMapper {

    public User findUserByUsername(@Param("username") String username);

    public List<String> findRoles(@Param("uid") int uid);

    public List<String> findPerms(@Param("uid") int uid);

}
